<script lang="ts" setup>
import { useAdminOrderStore } from "../store/adminOrder"

const { clear } = useAdminOrderStore()
</script>

<template>
  <t-dialog
    v-model:visible="clear.visible"
    :confirm-btn="{loading: clear.loading}"
    :on-confirm="clear.confirmClear"
    body="清理未支付订单，可能会影响正在创建的订单，请确认是否继续？"
    destroyOnClose
    header="警示"
    theme="warning"
  />
</template>

<style lang="less" scoped>

</style>
